package com.sand.feign;

import com.sand.dto.Select.UserSelect;
import com.sand.dto.merchant.merchantDto;
import com.sand.result.ResponseResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient("juao-merchant")
public interface MerchantFeign {

    //查询商家(完成)
    @PostMapping("/merchant/select")
    ResponseResult<merchantDto> select(@RequestBody UserSelect userSelect);

}
